<?php

 
class gift_frontpage extends site_controller{
    //todo
    function __construct(&$app){
        parent::__construct($app);     
    } 
    
    public function get_current_member()
    {
        return kernel::single( 'b2c_frontpage' )->get_current_member();
    }

    
    function setSeo($app,$act,$args=null){
        $seo = kernel::single('site_seo_base')->get_seo_conf($app,$act,$args);
        $this->title = $seo['seo_title'];
        $this->keywords = $seo['seo_keywords'];
        $this->description = $seo['seo_content'];
        $this->nofollow = $seo['seo_nofollow'];
        $this->noindex = $seo['seo_noindex'];
    }//End Function


    
    
}
